package cn.ycc1.mymiddle.functioncalling.weather;

import java.util.function.Function;

/**
 * @author ycc
 * @date 2025/5/1
 */
public class MockWeatherService implements Function<WeatherModels.Request, WeatherModels.Response> {

    public WeatherModels.Response apply(WeatherModels.Request request) {
        return new WeatherModels.Response(32.0, WeatherModels.Unit.C);
    }
}
